using System;
using System.Collections.Generic;
using System.Text;

namespace Pay.Data {
	/// <summary>
	/// 产品分类：Category
	/// </summary>
	public partial class Category {
		public Category() {
		}

		/// <summary>
		/// 分类id
		/// </summary>
		public long Id { get; set; }
		/// <summary>
		/// 商户id
		/// </summary>
		public long MerchantId { get; set; }
        /// <summary>
        /// 获取积分的比例，如10，就是1元
        /// </summary>
        public decimal InRate { get; set; }
        /// <summary>
        /// 消费积分比例，如10，就是10积分
        /// </summary>
        public decimal OutRate { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string Name { get; set; }
		/// <summary>
		/// 存放图片的目录
		/// </summary>
		public string ImagePath { get; set; }
		/// <summary>
		/// 排序
		/// </summary>
		public long Sort { get; set; }
		/// <summary>
		/// 上级分类
		/// </summary>
		public long ParentId { get; set; }
		/// <summary>
		/// 分类的深度
		/// </summary>
		public int Depth { get; set; }
		/// <summary>
		/// 分类的路径（以-分离）
		/// </summary>
		public string Path { get; set; }
		/// <summary>
		/// 说明
		/// </summary>
		public string Remark { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool IsDisabled { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }
        /// <summary>
        /// 0默认分类 1 集市分类
        /// </summary>
        public int Type { get; set; }

    }
}